
export const rightFormConfig = [
  {
    type: 'select',
    value: '',
    options: [
      {
        label: '遴选',
        value: 1
      },
      {
        label: '初赛',
        value: 2
      },
      {
        label: '复赛',
        value: 3
      },
      {
        label: '决赛',
        value: 4
      }
    ],
    label: '状态',
    keyIndex: 'scheduleType',
    placeholder: '请选择',
    span: 4,
    inputWidth: '100%',
    size: 'small'
  },
  {
    type: 'select',
    value: '',
    options: [
      {
        label: '是',
        value: '1'
      },
      {
        label: '否',
        value: '0'
      }
    ],
    label: '是否获奖',
    keyIndex: 'scheduleType',
    placeholder: '请选择',
    span: 4,
    inputWidth: '100%',
    size: 'small'
  }
]
export const middleSearchConfig = [
  {
    type: 'select',
    value: '',
    options: [
      {
        label: '遴选',
        value: 1
      },
      {
        label: '初赛',
        value: 2
      },
      {
        label: '复赛',
        value: 3
      },
      {
        label: '决赛',
        value: 4
      }
    ],
    label: '状态',
    keyIndex: 'scheduleType',
    placeholder: '请选择',
    span: 4,
    inputWidth: '100%',
    size: 'small'
  },
  {
    type: 'select',
    value: '',
    options: [

      {
        label: '未入选',
        value: 0
      },
      {
        label: '入选',
        value: 1
      }
    ],
    label: '是否入选',
    keyIndex: 'checkStatus',
    placeholder: '请选择',
    span: 4,
    inputWidth: '100%',
    size: 'small'
  },
  {
    type: 'input',
    value: '',
    label: '队长姓名',
    keyIndex: 'updater',
    placeholder: '请输入队长姓名',
    span: 4,
    visible: true,
    inputWidth: '100%',
    size: 'small'
  },
  {
    type: 'input',
    value: '',
    label: '团队名称',
    keyIndex: 'teamName',
    placeholder: '请输入团队名称',
    span: 4,
    visible: true,
    inputWidth: '100%',
    size: 'small'
  },
  {
    type: 'input',
    value: '',
    label: '学校名称',
    keyIndex: 'schoolName',
    placeholder: '支持模糊匹配',
    span: 4,
    visible: true,
    inputWidth: '100%',
    size: 'small'
  }
]

export const addColumnConfig = [
  {
    type: 'input',
    value: '',
    label: '名称',
    keyIndex: 'name',
    placeholder: '输入名称。10字以内',
    span: 24,
    rules: { required: true, message: '请输入名称', trigger: 'change' },
    visible: true,
    inputWidth: '300px',
    inputRef: 'name',
    maxlength: 10,
    showWordLimit: true,
    inputType: 'text'
  },
  {
    type: 'radio',
    value: '0',
    label: '发布状态',
    keyIndex: 'status',
    span: 24,
    options: [
      {
        value: '1',
        label: '发布'
      },
      {
        value: '0',
        label: '不发布'
      }
    ]
  }
]

export const leftTableConfig = {
  colums: [
    {
      props: 'id',
      label: '项目名称',
      width: 180
    },
    {
      props: 'title',
      label: '发布状态'

    },
    {
      props: 'studentName',
      label: '比赛阶段'
    },
    {
      props: 'phone',
      label: '创建人'
    },
    {
      props: 'createTimeStr',
      label: '部门'
    },
    {
      props: 'createTimeStr',
      label: '职位'
    },
    {
      props: 'reply',
      label: '截至时间',
      sortable: true
    }
  ],
  showSelection: true,
  showIndex: true
}

export const resultClassifiyConfig = {
  colums: [
    {
      props: 'teamName',
      label: '团队名称'
    },
    {
      props: 'studentName',
      label: '队长姓名'
    },
    {
      props: 'teamNum',
      label: '团队人数'
    },
    {
      props: 'age',
      label: '年龄'

    },
    {
      props: 'education',
      label: '学历'
    },
    {
      props: 'grade',
      label: '所在年级'
    },
    {
      props: 'currentCapacity',
      label: '当前身份',
      width: 120
    },
    {
      props: 'schoolName',
      label: '学校'
    },
    {
      props: 'major',
      label: '所学专业'
    },
    {
      props: 'rateScore',
      label: '评分',
      sortable: true
    },
    {
      props: 'lookStatusStr',
      label: '状态'
    },
    {
      props: 'entryTime',
      label: '报名时间',
      sortable: true,
      width: 100
    },
    {
      props: 'startTime',
      label: '开始时间',
      sortable: false,
      width: 100
    },
    {
      props: 'endTime',
      label: '结束时间',
      sortable: false,
      width: 100
    },
    {
      props: 'updateTime',
      label: '操作时间',
      sortable: true,
      width: 100
    },
    {
      props: 'checkStatusStr',
      label: '是否入选'
    }
  ],
  showSelection: true,
  showIndex: true,
  showOverflowTooltip: false,
  align: 'left'
}

export const recycleBinSearchConfig = [
  {
    type: 'input',
    value: '',
    label: '项目',
    keyIndex: 'id',
    placeholder: '请输入项目名称',
    span: 4,
    visible: true,
    inputWidth: '100%',
    size: 'small'
  },
  {
    type: 'select',
    value: '',
    options: [

      {
        label: '审核中',
        value: '1'
      },
      {
        label: '已通过',
        value: '0'
      },
      {
        label: '已拒绝',
        value: '2'
      }
    ],
    label: '比赛阶段',
    keyIndex: 'status',
    placeholder: '请选择',
    span: 4,
    inputWidth: '100%',
    size: 'small'
  },
  {
    type: 'input',
    value: '',
    label: '创建人',
    keyIndex: 'updater',
    placeholder: '请输入操作人名称',
    span: 4,
    visible: true,
    inputWidth: '100%',
    size: 'small'
  },
  {
    type: 'select',
    value: '',
    options: [

      {
        label: '是',
        value: '1'
      },
      {
        label: '否',
        value: '0'
      }
    ],
    label: '是否已审核',
    keyIndex: 'status',
    placeholder: '请选择',
    span: 4,
    inputWidth: '100%',
    size: 'small'
  },
  {
    type: 'select',
    value: '',
    options: [

      {
        label: '是',
        value: '1'
      },
      {
        label: '否',
        value: '0'
      }
    ],
    label: '是否通过审核',
    keyIndex: 'status',
    placeholder: '请选择',
    span: 4,
    inputWidth: '100%',
    size: 'small'
  }
]
export const recycleBinConfig = {
  colums: [
    {
      props: 'name',
      label: '项目名称',
      width: 180
    },
    {
      props: 'num',
      label: '创建人'
    },
    {
      props: 'statusStr',
      label: '部门'

    },
    {
      props: 'creator',
      label: '职位'
    },
    {
      props: 'updateTimeStr',
      label: '截至时间',
      sortable: true
    }

  ],
  showIndex: true
}

export const selectInConfig = [
  {
    type: 'select',
    value: '',
    options: [
      {
        label: '遴选',
        value: 1
      },
      {
        label: '初赛',
        value: 2
      },
      {
        label: '复赛',
        value: 3
      },
      {
        label: '决赛',
        value: 4
      }
    ],
    label: '比赛阶段:',
    keyIndex: 'scheduleType',
    placeholder: '请选择',
    span: 20,
    inputWidth: '300px',
    size: 'small',
    disabled: true
  },
  {
    type: 'daterange',
    label: '比赛时间:',
    keyIndex: 'date',
    inputWidth: '300px',
    size: 'small',
    disabled: true
  },
  {
    type: 'datetime',
    label: '作品截至上传时间:',
    keyIndex: 'time',
    inputWidth: '300px',
    size: 'small',
    disabled: true
  },
  {
    type: 'edit',
    value: '',
    label: '其他:',
    keyIndex: 'otherNotes',
    placeholder: '请输入大赛组织',
    span: 24,
    height: '200px',
    inputWidth: '80%'
  },
  {
    type: 'input',
    value: '',
    label: '联系人:',
    keyIndex: 'linkName',
    placeholder: '请输入联系人名称',
    span: 24,
    visible: true,
    inputWidth: '250px',
    size: 'small'
  },
  {
    type: 'input',
    value: '',
    label: '联系方式:',
    keyIndex: 'linkMobile',
    placeholder: '请输入联系方式',
    span: 24,
    visible: true,
    inputWidth: '250px',
    size: 'small'
  }
]

export const giftConfig = [
  {
    type: 'input',
    value: '',
    label: '奖项:',
    keyIndex: 'prizeName',
    placeholder: '请选择',
    span: 20,
    inputWidth: '300px',
    size: 'small',
    rules: { required: true, message: '请输入奖项', trigger: 'blur' }
  },
  {
    type: 'datetime',
    label: '颁奖典礼:',
    keyIndex: 'prizeCeremony',
    inputWidth: '300px',
    rules: { required: true, message: '请选择颁奖典礼日期', trigger: 'change' },
    size: 'small'
  },
  {
    type: 'select',
    value: '',
    rules: { required: true, message: '请选择颁奖类型', trigger: 'change' },
    options: [
      {
        label: '线上颁奖',
        value: '1'
      },
      {
        label: '线下颁奖',
        value: '2'
      }
    ],
    label: '颁奖类型:',
    keyIndex: 'prizeType',
    placeholder: '请选择',
    span: 20,
    inputWidth: '300px',
    size: 'small'
  },
  {
    type: 'edit',
    value: '',
    label: '其他:',
    keyIndex: 'otherNotes',
    placeholder: '请输入大赛组织',
    span: 24,
    height: '200px',
    inputWidth: '80%'
  },
  {
    type: 'input',
    value: '',
    label: '联系人:',
    keyIndex: 'linkName',
    placeholder: '请输入联系人名称',
    span: 24,
    visible: true,
    inputWidth: '250px',
    size: 'small'
  },
  {
    type: 'input',
    value: '',
    label: '联系方式:',
    keyIndex: 'linkMobile',
    placeholder: '请输入联系方式',
    span: 24,
    visible: true,
    inputWidth: '250px',
    size: 'small'
  }
]
